<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page session="false" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<jsp:include page="/WEB-INF/views/common/header.jsp" />

<link rel="stylesheet" href="<c:out value="${pageContext.request.contextPath}"/>/resources/common/bootstrap/css/bootstrap-datepicker.min.css">

<script type="text/javascript" src="<c:out value="${pageContext.request.contextPath}"/>/resources/js/repair_create_popup.js"></script>
<script type="text/javascript" src="<c:out value="${pageContext.request.contextPath}"/>/resources/common/bootstrap/js/bootstrap-datepicker.min.js"></script>

<script type="text/javascript">
	$(document).ready(function() {
		$('#register_date').datepicker({
			format: "yyyy-mm-dd",
			autoclose: true,
			todayHighlight: true,
		});
		
		$('#last_modify_date').datepicker({
			format: "yyyy-mm-dd",
			autoclose: true,
			todayHighlight: true,
		});
	});
	
</script>

</head>
<body>
	<jsp:include page="/WEB-INF/views/main/menu.jsp" />

	<div class="container">
		<div class="page-header">
			<h3>고객기준정보</h3>
		</div>
		<form class="form-inline">
			<div class="row">
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="customer_code" style="width: 100px">고객명</label> 
						<div class="input-group">
							<input type="text" class="form-control" id="customer_name" size="51" placeholder="고객 명" > 
							<span class="input-group-btn">
								<input type="button" class="btn btn-primary btn-sm" id="customer_btn" value="선택"/>
							</span>
						</div>
					</div>
				</div>
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="customer_account_number" style="width: 100px">고객 AC Num.</label> 
						<input type="text" class="form-control" id="customer_account_number" size="59">
					</div>
				</div>
			</div>
			<p />
			<div class="row">
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="corporate_registration_number" style="width: 100px">사업자등록번호</label> 
						<input type="text" class="form-control" id="corporate_registration_number" size="59">
					</div>
				</div>
			</div>
			<p />
			<div class="row">
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="representative" style="width: 100px">대표자명</label> 
						<input type="text" class="form-control" id="representative" size="59">
					</div>
				</div>
			</div>
			<p />
			<div class="row">
				<div class="col-sm-12">
					<div class="form-group form-group-sm">
						<label class="control-label" for="model" style="width: 100px">주소</label> 
						<div class="input-group">
							<input type="text" class="form-control" id="model_code" placeholder="우편번호" disabled>
							<span class="input-group-btn"> 
								<input type="button" class="btn btn-primary btn-sm" id="model_name_btn" value="선택" />
							</span>
						</div>
						<input type="text" class="form-control" id="model_name" size="70" placeholder="주소" disabled> 
						<input type="text" class="form-control" id="model_name" size="55" placeholder="상세주소"> 
					</div>
				</div>
			</div>
			<p />
			<div class="row">
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="corporate_registration_number" style="width: 100px">담당자</label> 
						<input type="text" class="form-control" id="corporate_registration_number" size="59">
					</div>
				</div>
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="representative" style="width: 100px">연락처</label> 
						<input type="text" class="form-control" id="representative" size="59">
					</div>
				</div>
			</div>
			<p />
			<div class="row">
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="representative" style="width: 100px">업태</label> 
						<input type="text" class="form-control" id="representative" size="59">
					</div>
				</div>
			</div>
			<p />
			<div class="row">
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="representative" style="width: 100px">업종</label> 
						<input type="text" class="form-control" id="representative" size="59">
					</div>
				</div>
			</div>
			<p />
			<div class="row">
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="customer_type" style="width: 100px">고객유형분류</label>
						<select class="form-control input-lg" style="width: 350px;" id="customer_claim_check">
							<option>기타</option>
						</select> 
					</div>
				</div>
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="license_type" style="width: 100px">사업자구분</label>
						<select class="form-control input-lg" style="width: 350px;" id="customer_claim_check">
							<option>고객</option>
						</select> 
					</div>
				</div>
			</div>
			<p />
			<div class="row">
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="register_date" style="width: 100px">등록일</label>
						<div class="input-group date" id="register_date">
  							<input type="text" class="form-control" size="52" disabled>
  								<span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
						</div>
					</div>
				</div>
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="last_modify_date" style="width: 100px">최종수정일</label>
						<div class="input-group date" id="last_modify_date">
  							<input type="text" class="form-control" size="52" disabled>
  								<span class="input-group-addon"><i class="glyphicon glyphicon-calendar"></i></span>
						</div>
					</div>
				</div>
			</div>
			<p />
			<div class="row">
				<div class="col-sm-12">
					<div class="form-group form-group-sm">
						<label class="control-label" for="description" style="width: 100px">비고</label> 
						<input type="text" class="form-control" id="description" size="177">
					</div>
				</div>
			</div>
			<p />
			<div class="row">
				<div class="col-sm-6">
					<div class="form-group form-group-sm">
						<label class="control-label" for="use_check" style="width: 100px">사용여부</label>
						<select class="form-control input-lg" style="width: 350px;" id="use_check">
							<option>사용</option>
						</select> 
					</div>
				</div>
			</div>
			</form>
		</div>
	<div class="modal fade" role="dialog" id="modalDiv">
		<div class="modal-dialog">
			<div class="modal-content"></div>
		</div>
	</div>
</body>
</html>